package network;

import java.net.Socket;

/**
 * A client represents a user who connected to the server. It stores the user's
 * name and the socket object's reference which is used to connected to the
 * server.
 * 
 * @author Jie Zhao(288654)
 * 
 */
public class Client {
	private String name = null;
	private Socket clientSocket = null;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Socket getClientSocket() {
		return clientSocket;
	}

	public void setClientSocket(Socket clientSocket) {
		this.clientSocket = clientSocket;
	}
}